<div id="page-wrapper">
            <div class="row">
            <img src="<?php echo base_url() ?>bootstrap/tot/bnnr-eservice1.jpg" class="img-responsive" alt="Responsive image">
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            ข้อมูล SDP (PON <?=$pon['pon_code'];?> / <?=$pon['pon_ip'];?>)
                        </div>
                        <div class="row">
                          
                            <div class="panel-body">
                            <!-- Nav tabs -->
                            <ul class="nav nav-tabs">
                                <li class="active"><a href="#profile" data-toggle="tab">ข้อมูลทั่วไป</a></li>
                            </ul>
                              <!-- Tab panes -->
                             <form class="form-horizontal" role="form" method="post" action="<?php echo base_url();?>index.php/admin/sdp/save">
                             <br/>
                            <div class="tab-content">
                            <div class="tab-pane fade in active" id="profile">
                                        <div class="form-group">
                                            <label for="sdp_code" class="col-sm-2 control-label" >SDP Code</label>
                                            <div class="col-xs-3 col-md4">
                                                <input type="text" class="form-control" name="sdp_code" placeholder="SDP Code" value="<? echo $val['sdp_code']?>">
                                            </div>
                                        </div>
                                        
                                        
                                         <div class="form-group">
                                            <label for="remark" class="col-sm-2 control-label">หมายเหตุ</label>
                                            <div class="col-sm-3">
                                                <input type="text" class="form-control" name="remark" placeholder="หมายเหตุ" value="<? echo $val['remark']?>">
                                            </div>
                                        </div>     
                                       
                                </div> <!--tab pane-->

                            </div> <!-- tab content -->                                
                                      
                                      <div class="form-group">
                                        <div class="col-sm-offset-2 col-sm-10">
                                          <input type="hidden" id="sdp_id" name="sdp_id" value="<? echo $val['sdp_id'] ?>" >
                                          <input type="hidden" id="pon_id" name="pon_id" value="<?=$pon['pon_id'];?>" >
                                          <button type="submit" class="btn btn-primary">บันทึกข้อมูล</button>
                                        </div>
                                      </div>
                                      
                                </form>
                            </div><!-- /.row -->
                        </div><!--panel body-->
                    </div><!--panel primary-->     
                </div><!---clo-lg-12--> 
            </div><!--row-->
</div>      <!-- /#page-wrapper -->
  